ScssPhp\ScssPhp\Parser D

Total Complexity 830
Dependencies 11
Dependents 2
Total lines 4,103
Lines of code 2,515
Logical lines of code 1,532
Comment lines 740
Methods 73
Properties 22

Methods 73

Method Rating Maintainability Complexity Lines of code
parseChunk()
D
0
199 493
selectorSingle()
D
22
65 165
isPlainCssValidElement()
D
25
50 149
value()
D
26
46 142
supportsQuery()
C
33 29 102
openString()
B
41 22 49
directiveValue()
B
46 20 40
genericList()
B
39 18 66
string()
B
40 18 59
expHelper()
B
46 18 32
enclosedExpression()
A
46 16 38
keyword()
A
43 14 49
mediaQuery()
A
47 14 35
whitespace()
A
41 12 55
matchEscapeCharacter()
A
47 13 32
expression()
A
46 12 41
func()
A
48 12 33
interpolation()
A
47 11 37
selector()
A
49 10 31
parse()
A
44 9 44
functionCallArgumentsList()
A
54 10 22
propertyName()
A
49 9 33
matchEscapeCharacterInSelector()
A
49 9 29
argumentDef()
A
47 8 38
customProperty()
A
48 8 36
map()
A
52 8 25
mediaExpression()
A
56 8 19
argumentList()
S
51 7 27
mixedKeyword()
S
53 7 25
__construct()
S
52 7 23
url()
S
55 7 21
isKnownGenericDirective()
S
47 5 39
pushBlock()
S
51 5 29
parenValue()
S
55 5 22
matchString()
S
53 5 22
assertPlainCssValid()
S
55 5 20
selectors()
S
56 5 19
argValue()
S
55 5 19
progid()
S
56 5 18
append()
S
57 5 17
stripAssignmentFlags()
S
58 5 14
matchChar()
S
61 5 13
unit()
S
60 5 12
getSourcePosition()
S
57 4 17
placeholder()
S
59 4 16
variable()
S
58 4 16
popBlock()
S
59 4 15
match()
S
59 4 14
literal()
S
60 4 13
parseSelector()
S
55 3 18
parseError()
S
57 3 16
saveEncoding()
S
68 4 6
end()
S
65 4 9
restrictedKeyword()
S
65 4 8
color()
S
61 3 12
extractLineNumbers()
S
61 3 12
flattenList()
S
69 3 6
restoreEncoding()
S
73 3 5
argValues()
S
63 2 11
appendComment()
S
74 2 5
last()
S
70 2 6
stripOptionalFlag()
S
63 2 10
peek()
S
66 2 8
parseValue()
S
62 1 12
parseMediaQueryList()
S
62 1 12
getSourceName()
S
82 1 3
mediaQueryList()
S
78 1 3
spaceList()
S
79 1 3
pushSpecialBlock()
S
73 1 5
pregQuote()
S
79 1 3
valueList()
S
68 1 7
seek()
S
81 1 3
throwParseError()
S
70 1 7